<?php
/**
 * @TABLE "email_spool"
 */
class BaseEmailSpool extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "bigint"
	 * @LENGTH "20"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "mail_spool_template_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $mail_spool_template_id;

	/**
	 * @COLUMN "user_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 */
	public $user_id;

	/**
	 * @COLUMN "email"
	 * @TYPE "varchar"
	 * @LENGTH "128"
	 */
	public $email;

	/**
	 * @COLUMN "lang"
	 * @TYPE "varchar"
	 * @LENGTH "5"
	 */
	public $lang;

	/**
	 * @COLUMN "data"
	 * @TYPE "text"
	 * @NOT_NULL
	 */
	public $data;

	/**
	 * @COLUMN "sended"
	 * @TYPE "tinyint"
	 * @LENGTH "1"
	 * @NOT_NULL
	 */
	public $sended;

	/**
	 * @COLUMN "date_sended"
	 * @TYPE "timestamp"
	 * @NOT_NULL
	 * @DEFAULT "CURRENT_TIMESTAMP"
	 */
	public $date_sended;
}
?>